﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TestBankingMandatory
{
    public class Customer
    {
        private string _fName;
        private string _lName;
        private string _address;
        private int _phone;
        private string _email;
        private IList<Account> _accounts;

        public Customer(string fName, string lName, string address, int phone, string email)
        {
            _fName = fName;
            _lName = lName;
            _address = address;
            _phone = phone;
            _email = email;
            _accounts = new List<Account>();
        }

        public string FName { get { return _fName; } set { _fName = value;} }
        public string LName { get { return _lName; } set { _lName = value; } }
        public string Address { get { return _address; } set { _address = value; } }
        public int Phone { get { return _phone; } set { _phone = value; } }
        public string Email { get { return _email; } set { _email = value; } }
        public IList<Account> Accounts { get { return _accounts; } set {_accounts = value ;} }
    }
}
